Working With Sound Channels
Sequence grabber components provide a number of functions that allow you to configure the grabber's sound channels. This section describes these configuration functions, which you can use only with sound channels. You can determine whether a channel has a sound representation by calling theSGGetChannelInfo
function, described on page 5-58. If you want to configure a video channel, use the
functions described in "Working With Video Channels" beginning on page 5-73. If you want to configure general attributes of a channel, use the functions described in "Working With Channel Characteristics" beginning on page 5-55.Use the
SGSetSoundInputDriver
function to specify a channel's sound
input device. You can determine a channel's sound input device by calling theSGGetSoundInputDriver
function. If you change any attributes of the sound input device, you should notify the sequence grabber component by calling theSGSoundInputDriverChanged
function. By default, the sequence grabber component uses the sound driver's best settings.You can control the amount of sound data the sequence grabber works with at one
time by calling theSGSetSoundRecordChunkSize
function. You can determine
this value by calling theSGGetSoundRecordChunkSize
function.You can control the rate at which the sound channel samples the input data by calling the
SGSetSoundInputRate
function. You can determine the sample rate by calling theSGGetSoundInputRate
function.You can control other sound input parameters by using the
SGSetSoundInputParameters
andSGGetSoundInputParameters
functions.
Subtopics
- SGSetSoundInputDriver
- SGGetSoundInputDriver
- SGSoundInputDriverChanged
- SGSetSoundRecordChunkSize
- SGGetSoundRecordChunkSize
- SGSetSoundInputRate
- SGGetSoundInputRate
- SGSetSoundInputParameters
- SGGetSoundInputParameters
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help